﻿CREATE PROCEDURE [Admin].[sp_z4s_duplicate_testSession_relative]
    @testSession_id uniqueidentifier,
    @seconds int,
    @newTestSession_id uniqueidentifier = NULL OUTPUT,
    @newTestSession_name nvarchar(255) = NULL,
    @newTestSession_createdOn datetime
AS
    DECLARE @newDate datetime = DATEADD(second, @seconds, GetUtcDate())

    EXEC [Admin].[sp_z4s_duplicate_testSession]
          @testSession_id
        , @newDate
        , @newTestSession_id OUT
        , @newTestSession_name
        , @newTestSession_createdOn

RETURN 0